package one2one;

import java.io.Serializable;

@SuppressWarnings("serial")
public class User implements Serializable {
	/** 对象唯一标识 */
	private Integer id;
	
	private String userName;
	
	/** 包含一对一的关联实体 */
	private Account account;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	
	
}
